package pers.liyan.shi.springcloud.service;

import pers.liyan.shi.springcloud.domain.Dept;

import java.util.List;

/**
 * 部门 service
 * @author shily
 * @date 2019/5/22 14:57
 */
public interface IDeptService {

    Dept findByNo(Long deptNo);

    List<Dept> findAll();

    int addDept(Dept dept);

    int updateByNo(Dept dept);

    int deleteByNo(Long deptNo);
}
